package framework.util.layui;

import java.util.List;

/**
 * 用于对接layui的tree组件，参考博客：https://www.layui.com/doc/modules/tree.html#data
 *
 * @author 吴宇亮 on 2019/6/10 20:49
 */
public class TreeVo {

    private Object name; //为了兼容tree-select.因为现在layui的tree组件和tree-select都不能自定义字段
    private Object title;
    private Object id;
    private List<TreeVo> children;
    private Object href;
    private Object spread;
    private Object open;
    private Object checked;
    private Object disabled;

    public Object getName() {
        return name;
    }

    public void setName(Object name) {
        this.name = name;
    }

    public Object getTitle() {
        return title;
    }

    public void setTitle(Object title) {
        this.title = title;
    }

    public Object getId() {
        return id;
    }

    public void setId(Object id) {
        this.id = id;
    }

    public List<TreeVo> getChildren() {
        return children;
    }

    public void setChildren(List<TreeVo> children) {
        this.children = children;
    }

    public Object getHref() {
        return href;
    }

    public void setHref(Object href) {
        this.href = href;
    }

    public Object getSpread() {
        return spread;
    }

    public void setSpread(Object spread) {
        this.spread = spread;
    }

    public Object getOpen() {
        return open;
    }

    public void setOpen(Object open) {
        this.open = open;
    }

    public Object getChecked() {
        return checked;
    }

    public void setChecked(Object checked) {
        this.checked = checked;
    }

    public Object getDisabled() {
        return disabled;
    }

    public void setDisabled(Object disabled) {
        this.disabled = disabled;
    }
}
